package com.sd.struts2;

public class Login {
	
	private String uname;
	private String upass;
	
	public void setUname(String uname){this.uname=uname;}
	public String getUname(){return uname;}
	
	public void setUpass(String upass){this.upass=upass;}
	public String getUpass(){return upass;}
	
	public String execute(){
		
		if(getUname().equals(getUpass()))
			return "sucess";
			return "fail";
	}

}
